import request from '@/utiles/request'

export const channels = () => {
  return request({
    url: '/v1_0/channels'
  })
}
export const articles = (id) => {
  return request({
    url: '/v1_0/articles',
    params: {
      channel_id: id,
      timestamp: Date.now()
    }
  })
}
